package com.pagoda.nerp.trade.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class PurGoodsRequest {
    /**
     * 商品需求单ID：-GOODS_REQUEST_ID，供应商服务平台的id从1开始，交易平台的id从5亿开始
     *
     * @mbg.generated
     */
    private Integer goodsRequestId;

    /**
     * 需求单号:单据类型编码:
            -GOODS_REQUEST_CODE，供应商交易平台的2位前缀10，交易平台前缀为20
     *
     * @mbg.generated
     */
    private String goodsRequestCode;

    /**
     * 采购需求名称
     *
     * @mbg.generated
     */
    private String goodsRequestName;

    /**
     * 采购需求地区
     *
     * @mbg.generated
     */
    private String goodsRequestOrgID;

    private String goodsRequestOrgCode;

    /**
     * 采购需求发布时间
     *
     * @mbg.generated
     */
    private Date pubTime;

    /**
     * 买方(供应商)ID：第一阶段固定为0，指百果园
     *
     * @mbg.generated
     */
    private Integer vendorId;

    /**
     * 发布方式：P-公开；D-定向
     *
     * @mbg.generated
     */
    private String publishType;

    /**
     * 报价截止日期：yyyy-mm-dd
     *
     * @mbg.generated
     */
    private Date lastPubDate;

    /**
     * 评标截止日期：yyyy-mm-dd
     *
     * @mbg.generated
     */
    private Date lastReviewDate;

    /**
     * 最小供应量：单位-百分之一
     *
     * @mbg.generated
     */
    private Long minOrderQty;

    /**
     * 选择卖方供应商方式：1-供应商品供应商；2-手工指定供应商
     *
     * @mbg.generated
     */
    private String selectVendorType;

    /**
     * 卖方供应商(编码code)列表；多个之间用逗号间隔
     *
     * @mbg.generated
     */
    private String vendorList;

    /**
     * 到货机构编号：默认为配送中心的机构ID
     *
     * @mbg.generated
     */
    private Integer warehouseOrgId;

    /**
     * 单据状态：01-审核
     *
     * @mbg.generated
     */
    private String status;

    /**
     * 期望到货开始日期：yyyy-mm-dd
     *
     * @mbg.generated
     */
    private Date expectStartDate;

    /**
     * 期望到货截止日期：yyyy-mm-dd
     *
     * @mbg.generated
     */
    private Date expectEndDate;

    /**
     * 商品ID
     *
     * @mbg.generated
     */
    private Integer goodsId;

    /**
     * 商品编码：取自商品信息表md_goods，冗余字段
     *
     * @mbg.generated
     */
    private String goodsCode;

    /**
     * 商品分类编码：取自商品信息表md_goods，冗余字段
     *
     * @mbg.generated
     */
    private String categoryCode;

    /**
     * 商品规格，500g*12：取自商品信息表md_goods，冗余字段
     *
     * @mbg.generated
     */
    private String itemSpec;

    /**
     * 采购单位名称，数据字典管理，保存字典值
     *
     * @mbg.generated
     */
    private String purUnitName;

    /**
     * 采购需求量：单位-百分之一
     *
     * @mbg.generated
     */
    private Long requestQty;

    /**
     * 期望进价
     *
     * @mbg.generated
     */
    private Long buyPrice;

    /**
     * 商品名称：取自商品信息表md_goods，冗余字段
     *
     * @mbg.generated
     */
    private String goodsName;

    /**
     * 买方代码：第一阶段固定为：000，冗余字段
     *
     * @mbg.generated
     */
    private String vendorCode;

    /**
     * 买方名称：第一阶段固定为：百果园，冗余字段
     *
     * @mbg.generated
     */
    private String vendorName;

    /**
     * 备注
     *
     * @mbg.generated
     */
    private String remark;

    /**
     * 创建人
     *
     * @mbg.generated
     */
    private String createUser;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改人
     *
     * @mbg.generated
     */
    private String modifyUser;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date modifyTime;

    /**
     * 审核人
     *
     * @mbg.generated
     */
    private String checker;

    /**
     * 审核时间
     *
     * @mbg.generated
     */
    private Date checkTime;
    
    /**
     * 商品标准id
     */
    private String goodsStandardCode;

    public Integer getGoodsRequestId() {
        return goodsRequestId;
    }

    public void setGoodsRequestId(Integer goodsRequestId) {
        this.goodsRequestId = goodsRequestId;
    }

    public String getGoodsRequestCode() {
        return goodsRequestCode;
    }

    public void setGoodsRequestCode(String goodsRequestCode) {
        this.goodsRequestCode = goodsRequestCode == null ? null : goodsRequestCode.trim();
    }

    public String getGoodsRequestName() {
        return goodsRequestName;
    }

    public void setGoodsRequestName(String goodsRequestName) {
        this.goodsRequestName = goodsRequestName == null ? null : goodsRequestName.trim();
    }

    public String getGoodsRequestOrgID() {
        return goodsRequestOrgID;
    }

    public void setGoodsRequestOrgID(String goodsRequestOrgID) {
        this.goodsRequestOrgID = goodsRequestOrgID == null ? null : goodsRequestOrgID.trim();
    }

    public String getGoodsRequestOrgCode() {
        return goodsRequestOrgCode;
    }

    public void setGoodsRequestOrgCode(String goodsRequestOrgCode) {
        this.goodsRequestOrgCode = goodsRequestOrgCode == null ? null : goodsRequestOrgCode.trim();
    }

    public Date getPubTime() {
        return pubTime;
    }

    public void setPubTime(Date pubTime) {
        this.pubTime = pubTime;
    }

    public Integer getVendorId() {
        return vendorId;
    }

    public void setVendorId(Integer vendorId) {
        this.vendorId = vendorId;
    }

    public String getPublishType() {
        return publishType;
    }

    public void setPublishType(String publishType) {
        this.publishType = publishType == null ? null : publishType.trim();
    }

    public Date getLastPubDate() {
        return lastPubDate;
    }

    public void setLastPubDate(Date lastPubDate) {
        this.lastPubDate = lastPubDate;
    }

    public Date getLastReviewDate() {
        return lastReviewDate;
    }

    public void setLastReviewDate(Date lastReviewDate) {
        this.lastReviewDate = lastReviewDate;
    }

    public Long getMinOrderQty() {
        return minOrderQty;
    }

    public void setMinOrderQty(Long minOrderQty) {
        this.minOrderQty = minOrderQty;
    }

    public String getSelectVendorType() {
        return selectVendorType;
    }

    public void setSelectVendorType(String selectVendorType) {
        this.selectVendorType = selectVendorType == null ? null : selectVendorType.trim();
    }

    public String getVendorList() {
        return vendorList;
    }

    public void setVendorList(String vendorList) {
        this.vendorList = vendorList == null ? null : vendorList.trim();
    }

    public Integer getWarehouseOrgId() {
        return warehouseOrgId;
    }

    public void setWarehouseOrgId(Integer warehouseOrgId) {
        this.warehouseOrgId = warehouseOrgId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getExpectStartDate() {
        return expectStartDate;
    }

    public void setExpectStartDate(Date expectStartDate) {
        this.expectStartDate = expectStartDate;
    }

    public Date getExpectEndDate() {
        return expectEndDate;
    }

    public void setExpectEndDate(Date expectEndDate) {
        this.expectEndDate = expectEndDate;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode == null ? null : goodsCode.trim();
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode == null ? null : categoryCode.trim();
    }

    public String getItemSpec() {
        return itemSpec;
    }

    public void setItemSpec(String itemSpec) {
        this.itemSpec = itemSpec == null ? null : itemSpec.trim();
    }

    public String getPurUnitName() {
        return purUnitName;
    }

    public void setPurUnitName(String purUnitName) {
        this.purUnitName = purUnitName == null ? null : purUnitName.trim();
    }

    public Long getRequestQty() {
        return requestQty;
    }

    public void setRequestQty(Long requestQty) {
        this.requestQty = requestQty;
    }

    public Long getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(Long buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getVendorCode() {
        return vendorCode;
    }

    public void setVendorCode(String vendorCode) {
        this.vendorCode = vendorCode == null ? null : vendorCode.trim();
    }

    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName == null ? null : vendorName.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser == null ? null : modifyUser.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker == null ? null : checker.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

	public String getGoodsStandardCode() {
		return goodsStandardCode;
	}

	public void setGoodsStandardCode(String goodsStandardCode) {
		this.goodsStandardCode = goodsStandardCode;
	}
}